/*
 * @Author: dlb
 * @Date: 2020-07-01 23:29:07
 * @LastEditTime: 2020-07-01 23:29:17
 * @LastEditors: dlb
 * @Description:
 * @FilePath: \zhufeng-cli-project\my-cli\src\constants.js
 * @可以输入预定的版权声明、个性签名、空行等
 */
// 存放用户所需要的常量
const { version } = require('../package.json');

// 存储模板的位置 下载前先找临时目录存放下载的文件
// console.log(process.platform)
const downLoadDirectory = `${process.env[process.platform === 'darwin' ? 'HOME' : 'USERPROFILE']}\\.template`;
// console.log(downLoadDirectory);
module.exports = {
  version,
  downLoadDirectory,
};
